//
//  DishDetailView.h
//  XRmenu
//
//  Created by gaomz on 11-3-24.
//  Copyright 2011 E0571. All rights reserved.
//

#import "XRmenuBaseView.h"
#import "Product.h"
@protocol dishDetailDelegate;
@interface DishDetailView : XRmenuBaseView {

	Product *pr;
	NSArray *arrFile;
	UIPageControl* pageControl;
	UIImage *normalImage;
	UIImage *selectedImage;
	
	id<dishDetailDelegate> deleagate;
}

@property (nonatomic, assign) id<dishDetailDelegate> deleagate;

-(id)initWithStyle:(NSString *)stylename DishSubViewName:(NSString *)vname Product:(Product *)prd;
-(void)detailButton_Clicked:(id)sender;
-(void)showDetailContent:(NSInteger)tag;
-(void) setcurrentPageIndex:(NSInteger)aIndex;
-(void)changeDetailPhoto:(NSInteger)photoNo;
@end

@protocol dishDetailDelegate
-(BOOL)AddDish;
@end